package com.xhc.demo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.LocalDateTime;

public class SearchOrdersRequest {
    private String token;
    
    @JsonProperty("payment_time")
    private LocalDateTime paymentTime;
    
    private int page = 0;
    private int size = 20;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public LocalDateTime getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(LocalDateTime paymentTime) {
        this.paymentTime = paymentTime;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "SearchOrdersRequest{" +
                "token='" + token + '\'' +
                ", paymentTime=" + paymentTime +
                ", page=" + page +
                ", size=" + size +
                '}';
    }
}
